package com.dong.ioc.javabased.lookup;

/**
 * description
 *
 * @author Administrator 2021/09/06 11:25
 */
public abstract class PersonManager {

    public Object process(Person person){
        Person person1 = this.createdPerson();
        person1.setBoss(person);
        return person1;
    }

    protected abstract Person createdPerson();
}
